package prv.pursuivant.core.impl;

import java.util.Collection;
import java.util.Iterator;

import prv.pursuivant.core.AllToons;
import prv.pursuivant.core.Toon;

import com.google.inject.Inject;

public class AllToonsImpl implements AllToons {

	private Collection<Toon> toons;

	@Inject
	public AllToonsImpl(Collection<Toon> toons) {
		this.toons = toons;		
	}
	
	@Override
	public Iterator<Toon> iterator() {
		return toons.iterator();
	}

}
